golang.org/x/net/http2.dataBuffer.expected (field)
6 uses
golang.org/x/net/http2 (current package)
databuffer.go#L73: expected int64 // we expect at least this many bytes in future Write calls (ignored if <= 0)
databuffer.go#L125: if b.expected > want {
databuffer.go#L126: want = b.expected
databuffer.go#L133: b.expected -= int64(n)
server.go#L2299: b: &dataBuffer{expected: req.ContentLength},
transport.go#L2505: cs.bufPipe.setBuffer(&dataBuffer{expected: res.ContentLength})
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)